
class ApiService {
  //api服务器地址
  static const String root = "http://192.168.1.55:9140";

  //登录
  static const String user_login = '/uas/user/login/signIn';

  //字典
  static const String query_all_dict = '/uas/system/dict/queryAllDictDetail';

  //角色
  static const String query_all_auditor = '/uas/system/user/queryAllAuditor';

  //个人信息模糊查询
  static const String query_list_basic_info =
      '/ins-info-controls/insBasicInfo/listBasicInfo';



  ///字典数据
/*  static Future queryDictionaries() async {
    var response = await http.get(_query_all_dict,
        options: Options(headers: _getHeaders()));
    return response.data;
  }*/

  ///查询角色
/*  static Future queryAllRoles() async {
    var response = await http.get(_query_all_auditor,
        options: Options(headers: _getHeaders()));
    return response.data;
  }*/

  ///个人信息模糊查询
 /* static Future queryListBasicInfo(
    int page, {
    String name,
    String idCard,
    String basicCode,
    String socialCard,
  }) async {
    var response = await http.get(
      query_listbasic_info,
      queryParameters: {
        'name': name,
        'idCardNo': idCard,
        'basicCode': basicCode,
        'socialSecurityCardNumber': socialCard,
        'size': '20',
        'page': page,
      },
      options: Options(headers: _getHeaders()),
    );
    return response.data;
  }*/
}
